<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <input type="button" id="good" onclick="thank()" value="求点赞">
    <script>
        /*1、有一个按钮，按钮上的文本是 ，求点赞，单击该按钮，按钮上的文本，改变为，谢谢 
            <input type=”button” value=”求点赞” id=”btn”>*/
        function thank() {
            var good = document.getElementById("good");
            good.value = '谢谢';
        }
    </script>
</body>
</html>